﻿using EasyComm.ServiceUnit;

namespace EasyComm.SDK
{
    public delegate void SystemServiceEventHandler(SystemServiceEventArgs e);

    public class SystemServiceEventArgs
    {
        public SystemServiceUnit Unit { get; private set; }
        public ServiceAvailabilityType AvailabilityType { get; private set; }

        public SystemServiceEventArgs(SystemServiceUnit unit, ServiceAvailabilityType availabilityType)
        {
            Unit = unit;
            AvailabilityType = availabilityType;
        }
    }
}
